<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Hello MUI</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<!--标准mui.css-->
		<link rel="stylesheet" href="../css/mui.min.css">
		<style>
			 .mui-btn{
		        margin-top: 10px;
		        margin-left: 10px;
		    }
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
		    <a class="mui-action-back mui-icon mui-icon-back mui-pull-left"></a>
		    <h1 class="mui-title">带图标按钮</h1>
		</header>
		<div class="mui-content">
		    <div class="mui-content-padded">
		    		<h5>图标居左：</h5>
		        <button type="button" class="mui-btn mui-icon mui-icon-home">
		            首页
		        </button>
		        <button type="button" class="mui-btn mui-btn-primary mui-icon mui-icon-search">
		            搜索
		        </button>
		        <button type="button" class="mui-btn mui-btn-success mui-icon mui-icon-plus">添加</button>
		        <button type="button" class="mui-btn mui-btn-danger mui-btn-outlined">
		            <span class="mui-icon mui-icon-trash"></span>
		            删除	
		        </button>
		        <button type="button" class="mui-btn mui-btn-link">
		            <span class="mui-icon mui-icon-back"></span>
		            返回
		        </button>
		        <h5>图标居右：</h5>
		        <button type="button" class="mui-btn mui-icon mui-icon-home mui-right">
		            首页
		        </button>
		        <button type="button" class="mui-btn mui-btn-primary mui-icon mui-icon-search mui-right">
		            搜索
		        </button>
		        <button type="button" class="mui-btn mui-btn-success mui-icon mui-icon-plus mui-right">添加</button>
		        <button type="button" class="mui-btn mui-btn-danger mui-btn-outlined">
		            删除	
		            <span class="mui-icon mui-icon-trash"></span>
		        </button>
		        <button type="button" class="mui-btn mui-btn-link">
		            下一步
		            <span class="mui-icon mui-icon-forward"></span>
		        </button>
		    </div>
		</div>
	</body>
	<script src="../js/mui.min.js"></script>
	<script>
		mui.init({
			swipeBack:true //启用右滑关闭功能
		});
	</script>
</html>